<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%><%@ include file="/include.inc.jsp"%>
<h2 class="contentTitle">Add News</h2>
<div class="pageContent">
<form action="<c:url value='/management/article/insert?navTabId=articleLiNav&callbackType=closeCurrent'/>" method="post" class='required-validate pageForm' 
onsubmit="return iframeCallback(this, navTabAjaxDone)" enctype="multipart/form-data">


<div class="pageFormContent" layoutH="97">
    <div class="unit">
		<label>所属关系</label>		
		<select name="wechatArticle.menuCode" class="required">
					<option value="">请选择</option>
					<c:forEach var="item" items="${menuList}">
					<option value="${item.wechatMenu.code}">${item.wechatMenu.name}</option>
					</c:forEach>
		</select>
	</div>
	<div class="unit">
		<label>文章名称</label>
		<input type="text" name="wechatArticle.title" class="textInput required" maxlength="128" size="64"/>
	</div>
	
	<div class="unit">
		<label>外部连接</label>
		<input type="text" name="wechatArticle.url" class="textInput " maxlength="128" size="64"/>
	</div>
	<div class="unit">
		<label>文章图片</label>
		<input type="file" name="myfiles" class="textInput " maxlength="128" size="64"/>
	</div>
	<div class="unit">
		<label>文章描述</label>
		<textarea class="editor" name="wechatArticle.description" rows="15" cols="80" tools="simple"></textarea>
	</div>
</div>
<div class="formBar">
	<ul>
		<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
		<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
	</ul>
</div>
</form>
</div>